import hasRole from './permission/hasRole'
import hasPermi from './permission/hasPermi'
import copyText from './common/copyText'
import waterMarker from './common/waterMarker'

export default function directive(app) {
  app.directive('hasRole', hasRole)
  app.directive('hasPermi', hasPermi)
  app.directive('copyText', copyText)
  app.directive('waterMarker', waterMarker)
}

// 是否显示水印
// sys.account.registerUser
// 是否开启注册用户功能（true开启，false关闭）
